/*
 * @Author: zhang_gen_yuan
 * @Date: 2021-08-14 16:47:55
 * @LastEditTime: 2021-08-15 22:05:25
 * @Descripttion: 
 */
import { createApp } from 'vue'
import 'normalize.css/normalize.css'

import ElementPlus from 'element-plus'
import './styles/element-variables.scss'
import "element-plus/packages/theme-chalk/src/base.scss";
import 'element-plus/lib/theme-chalk/index.css'

import './styles/index.scss'
import "./assets/iconfont/iconfont.js";
import "./assets/iconfont/iconfont.css";

import "v-contextmenu/dist/themes/default.css";
import './directive/index';
import App from './App.vue'
import router from "./router/index";
import store from "./store/index";
import { useSvgIcon } from "./icons";
import './permission'
import locale from 'element-plus/lib/locale/lang/zh-cn'
import 'dayjs/locale/zh-cn'
import appDirective from './directive/index'
const app = createApp(App);
appDirective(app);
useSvgIcon(app)
app.use(router);
app.use(store);
app.use(ElementPlus, { size: 'small', zIndex: 3000,locale })
app.mount('#root')
